{% extends 'templates/default_template.html' %}
{%block content%}
<h1>Requests list</h1>

  {%for wf in requests %}
  <div class="requestElement">
    <p>{{wf.name}}</p>
    <p>Created {{wf.created|date:"D d M Y h:i A"}}</p>
    <div class="elementOptions">
      <a href="/requests/{{wf.key}}">View request</a>
    </div>
  </div>
  {%endfor%}
  {% if not requests %}
  <div class="zeroHits">
    <p>There are no requests</p>
  </div>
  {% endif %}
{%endblock content%}